package com.core.gig.negocio;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;


@Entity
@Table(name = "TB_SISTEMA")
public class Sistema implements Serializable
{

	private static final long serialVersionUID = -5145926187072369974L;
	private SistemaPK id;
	private boolean sistemaConfigurado;

	@EmbeddedId
	public SistemaPK getId()
	{
		return id;
	}

	@Column(name = "SISTEMA_CONFIGURADO", nullable = false)
	public boolean isSistemaConfigurado()
	{
		return sistemaConfigurado;
	}

	public void setId(SistemaPK id)
	{
		this.id = id;
	}

	public void setSistemaConfigurado(boolean sistemaConfigurado)
	{
		this.sistemaConfigurado = sistemaConfigurado;
	}
}